package com.test.test.service;

import com.test.test.entity.student;
import com.test.test.mapper.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentService {

    @Autowired
    private  StudentMapper studentMapper;

    public List<student> findAll(){

        return studentMapper.findAll();
    }
}
